package com.dx.financehy.modules.business.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author: huang_jigao
 * @Title: EditBusinessDTO
 * @ProjectName: financehy
 * @Description:
 * @date: 2024-05-15 16:13
 */
@ApiModel(description = "编辑主营业务DTO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EditBusinessDTO {

    @ApiModelProperty(value = "编辑主营业务一级分类")
    private List<EditBusinessInternal> editBusinessInternals;

    @Data
    public static class EditBusinessInternal {

        @ApiModelProperty(value = "一级分类id")
        private String id;

        @ApiModelProperty(value = "一级分类名称")
        private String businessName;
    }
}
